home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / DRIVER.CAB / hpoj3xx.gpd < prev    next >
Encoding:
Text File  |  2003-02-21  |  16.4 KB  |  572 lines

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *Include: "StdNames.gpd"
  6. *MasterUnits: PAIR(600, 600)
  7. *ResourceDLL: "hpdjres.dll"
  8. *PrinterType: SERIAL
  9. *FontCartSlots: 2
  10. *Feature: Orientation
  11. {
  12.     *rcNameID: =ORIENTATION_DISPLAY
  13.     *DefaultOption: PORTRAIT
  14.     *Option: PORTRAIT
  15.     {
  16.         *rcNameID: =PORTRAIT_DISPLAY
  17.         *Command: CmdSelect
  18.         {
  19.             *Order: DOC_SETUP.2
  20.             *Cmd: "<1B>&l0O"
  21.         }
  22.     }
  23.     *Option: LANDSCAPE_CC90
  24.     {
  25.         *rcNameID: =LANDSCAPE_DISPLAY
  26.         *Command: CmdSelect
  27.         {
  28.             *Order: DOC_SETUP.2
  29.             *Cmd: "<1B>&l1O"
  30.         }
  31.     }
  32. }
  33. *Feature: InputBin
  34. {
  35.     *rcNameID: =PAPER_SOURCE_DISPLAY
  36.     *DefaultOption: AUTO
  37.     *Option: AUTO
  38.     {
  39.         *rcNameID: =AUTO_DISPLAY
  40.         *Command: CmdSelect
  41.         {
  42.             *Order: DOC_SETUP.3
  43.             *Cmd: "<1B>&l1H"
  44.         }
  45.     }
  46.     *Option: ENVFEED
  47.     {
  48.         *rcNameID: =ENV_FEED_DISPLAY
  49.         *Command: CmdSelect
  50.         {
  51.             *Order: DOC_SETUP.3
  52.             *Cmd: "<1B>&l3H"
  53.         }
  54.     }
  55. }
  56. *Feature: Resolution
  57. {
  58.     *rcNameID: =RESOLUTION_DISPLAY
  59.     *DefaultOption: Option1
  60.     *Option: Option1
  61.     {
  62.         *Name: "300 x 300 " =DOTS_PER_INCH
  63.         *DPI: PAIR(300, 300)
  64.         *TextDPI: PAIR(300, 300)
  65.         EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  66.         *SpotDiameter: 100
  67.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  68.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  69.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  70.         *Command: CmdSelect
  71.         {
  72.             *Order: DOC_SETUP.6
  73.             *Cmd: "<1B>*t300R"
  74.         }
  75.     }
  76.     *Option: Option2
  77.     {
  78.         *Name: "150 x 150 " =DOTS_PER_INCH
  79.         *DPI: PAIR(150, 150)
  80.         *TextDPI: PAIR(300, 300)
  81.         EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  82.         *SpotDiameter: 100
  83.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  84.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  85.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  86.         *Command: CmdSelect
  87.         {
  88.             *Order: DOC_SETUP.6
  89.             *Cmd: "<1B>*t150R"
  90.         }
  91.     }
  92.     *Option: Option3
  93.     {
  94.         *Name: "75 x 75 " =DOTS_PER_INCH
  95.         *DPI: PAIR(75, 75)
  96.         *TextDPI: PAIR(300, 300)
  97.         EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  98.         *SpotDiameter: 100
  99.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  100.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  101.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  102.         *Command: CmdSelect
  103.         {
  104.             *Order: DOC_SETUP.6
  105.             *Cmd: "<1B>*t75R"
  106.         }
  107.     }
  108. }
  109. *Feature: PaperSize
  110. {
  111.     *rcNameID: =PAPER_SIZE_DISPLAY
  112.     *DefaultOption: LETTER
  113.     *Option: LETTER
  114.     {
  115.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  116.         *switch: Orientation
  117.         {
  118.             *case: PORTRAIT
  119.             {
  120.                 *PrintableArea: PAIR(4800, 6156)
  121.                 *PrintableOrigin: PAIR(150, 100)
  122.                 *switch: Resolution
  123.                 {
  124.                     *case: Option2
  125.                     {
  126.                         *PrintableArea: PAIR(4796, 6156)
  127.                         *PrintableOrigin: PAIR(152, 100)
  128.                     }
  129.                     *case: Option3
  130.                     {
  131.                         *PrintableArea: PAIR(4792, 6152)
  132.                         *PrintableOrigin: PAIR(152, 104)
  133.                     }
  134.                 }
  135.                 *CursorOrigin: PAIR(150, 100)
  136.                 *Command: CmdSelect
  137.                 {
  138.                     *Order: DOC_SETUP.5
  139.                     *Cmd: "<1B>&l2A"
  140.                 }
  141.             }
  142.             *case: LANDSCAPE_CC90
  143.             {
  144.                 *PrintableArea: PAIR(4720, 6106)
  145.                 *PrintableOrigin: PAIR(210, 150)
  146.                 *switch: Resolution
  147.                 {
  148.                     *case: Option2
  149.                     {
  150.                         *PrintableArea: PAIR(4716, 6104)
  151.                         *PrintableOrigin: PAIR(212, 152)
  152.                     }
  153.                     *case: Option3
  154.                     {
  155.                         *PrintableArea: PAIR(4712, 6104)
  156.                         *PrintableOrigin: PAIR(216, 152)
  157.                     }
  158.                 }
  159.                 *CursorOrigin: PAIR(210, 6256)
  160.                 *Command: CmdSelect
  161.                 {
  162.                     *Order: DOC_SETUP.5
  163.                     *Cmd: "<1B>&l2A"
  164.                 }
  165.             }
  166.         }
  167.     }
  168.     *Option: LEGAL
  169.     {
  170.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  171.         *switch: Orientation
  172.         {
  173.             *case: PORTRAIT
  174.             {
  175.                 *PrintableArea: PAIR(4800, 7956)
  176.                 *PrintableOrigin: PAIR(150, 100)
  177.                 *switch: Resolution
  178.                 {
  179.                     *case: Option2
  180.                     {
  181.                         *PrintableArea: PAIR(4796, 7956)
  182.                         *PrintableOrigin: PAIR(152, 100)
  183.                     }
  184.                     *case: Option3
  185.                     {
  186.                         *PrintableArea: PAIR(4792, 7952)
  187.                         *PrintableOrigin: PAIR(152, 104)
  188.                     }
  189.                 }
  190.                 *CursorOrigin: PAIR(150, 100)
  191.                 *Command: CmdSelect
  192.                 {
  193.                     *Order: DOC_SETUP.5
  194.                     *Cmd: "<1B>&l3A"
  195.                 }
  196.             }
  197.             *case: LANDSCAPE_CC90
  198.             {
  199.                 *PrintableArea: PAIR(4720, 7906)
  200.                 *PrintableOrigin: PAIR(210, 150)
  201.                 *switch: Resolution
  202.                 {
  203.                     *case: Option2
  204.                     {
  205.                         *PrintableArea: PAIR(4716, 7904)
  206.                         *PrintableOrigin: PAIR(212, 152)
  207.                     }
  208.                     *case: Option3
  209.                     {
  210.                         *PrintableArea: PAIR(4712, 7904)
  211.                         *PrintableOrigin: PAIR(216, 152)
  212.                     }
  213.                 }
  214.                 *CursorOrigin: PAIR(210, 8056)
  215.                 *Command: CmdSelect
  216.                 {
  217.                     *Order: DOC_SETUP.5
  218.                     *Cmd: "<1B>&l3A"
  219.                 }
  220.             }
  221.         }
  222.     }
  223.     *Option: A4
  224.     {
  225.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  226.         *switch: Orientation
  227.         {
  228.             *case: PORTRAIT
  229.             {
  230.                 *PrintableArea: PAIR(4800, 6570)
  231.                 *PrintableOrigin: PAIR(70, 100)
  232.                 *switch: Resolution
  233.                 {
  234.                     *case: Option2
  235.                     {
  236.                         *PrintableArea: PAIR(4796, 6568)
  237.                         *PrintableOrigin: PAIR(72, 100)
  238.                     }
  239.                     *case: Option3
  240.                     {
  241.                         *PrintableArea: PAIR(4792, 6560)
  242.                         *PrintableOrigin: PAIR(72, 104)
  243.                     }
  244.                 }
  245.                 *CursorOrigin: PAIR(70, 100)
  246.                 *Command: CmdSelect
  247.                 {
  248.                     *Order: DOC_SETUP.5
  249.                     *Cmd: "<1B>&l26A"
  250.                 }
  251.             }
  252.             *case: LANDSCAPE_CC90
  253.             {
  254.                 *PrintableArea: PAIR(4702, 6498)
  255.                 *PrintableOrigin: PAIR(150, 150)
  256.                 *switch: Resolution
  257.                 {
  258.                     *case: Option2
  259.                     {
  260.                         *PrintableArea: PAIR(4700, 6496)
  261.                         *PrintableOrigin: PAIR(152, 152)
  262.                     }
  263.                     *case: Option3
  264.                     {
  265.                         *PrintableArea: PAIR(4696, 6496)
  266.                         *PrintableOrigin: PAIR(152, 152)
  267.                     }
  268.                 }
  269.                 *CursorOrigin: PAIR(150, 6648)
  270.                 *Command: CmdSelect
  271.                 {
  272.                     *Order: DOC_SETUP.5
  273.                     *Cmd: "<1B>&l26A"
  274.                 }
  275.             }
  276.         }
  277.     }
  278.     *Option: EXECUTIVE
  279.     {
  280.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  281.         *switch: Orientation
  282.         {
  283.             *case: PORTRAIT
  284.             {
  285.                 *PrintableArea: PAIR(4070, 5856)
  286.                 *PrintableOrigin: PAIR(100, 100)
  287.                 *switch: Resolution
  288.                 {
  289.                     *case: Option2
  290.                     {
  291.                         *PrintableArea: PAIR(4068, 5856)
  292.                     }
  293.                     *case: Option3
  294.                     {
  295.                         *PrintableArea: PAIR(4064, 5848)
  296.                         *PrintableOrigin: PAIR(104, 104)
  297.                     }
  298.                 }
  299.                 *CursorOrigin: PAIR(100, 100)
  300.                 *Command: CmdSelect
  301.                 {
  302.                     *Order: DOC_SETUP.5
  303.                     *Cmd: "<1B>&l1A"
  304.                 }
  305.             }
  306.             *case: LANDSCAPE_CC90
  307.             {
  308.                 *PrintableArea: PAIR(3950, 5784)
  309.                 *PrintableOrigin: PAIR(200, 150)
  310.                 *switch: Resolution
  311.                 {
  312.                     *case: Option2
  313.                     {
  314.                         *PrintableArea: PAIR(3948, 5780)
  315.                         *PrintableOrigin: PAIR(200, 152)
  316.                     }
  317.                     *case: Option3
  318.                     {
  319.                         *PrintableArea: PAIR(3944, 5776)
  320.                         *PrintableOrigin: PAIR(200, 152)
  321.                     }
  322.                 }
  323.                 *CursorOrigin: PAIR(200, 5934)
  324.                 *Command: CmdSelect
  325.                 {
  326.                     *Order: DOC_SETUP.5
  327.                     *Cmd: "<1B>&l1A"
  328.                 }
  329.             }
  330.         }
  331.     }
  332.     *Option: ENV_10
  333.     {
  334.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  335.         *switch: Orientation
  336.         {
  337.             *case: PORTRAIT
  338.             {
  339.                 *PrintableArea: PAIR(2318, 5100)
  340.                 *PrintableOrigin: PAIR(70, 100)
  341.                 *switch: Resolution
  342.                 {
  343.                     *case: Option2
  344.                     {
  345.                         *PrintableArea: PAIR(2316, 5100)
  346.                         *PrintableOrigin: PAIR(72, 100)
  347.                     }
  348.                     *case: Option3
  349.                     {
  350.                         *PrintableArea: PAIR(2312, 5096)
  351.                         *PrintableOrigin: PAIR(72, 104)
  352.                     }
  353.                 }
  354.                 *CursorOrigin: PAIR(70, 100)
  355.                 *Command: CmdSelect
  356.                 {
  357.                     *Order: DOC_SETUP.5
  358.                     *Cmd: "<1B>&l-81A"
  359.                 }
  360.             }
  361.             *case: LANDSCAPE_CC90
  362.             {
  363.                 *PrintableArea: PAIR(2158, 5050)
  364.                 *PrintableOrigin: PAIR(150, 150)
  365.                 *switch: Resolution
  366.                 {
  367.                     *case: Option2
  368.                     {
  369.                         *PrintableArea: PAIR(2156, 5048)
  370.                         *PrintableOrigin: PAIR(152, 152)
  371.                     }
  372.                     *case: Option3
  373.                     {
  374.                         *PrintableArea: PAIR(2152, 5048)
  375.                         *PrintableOrigin: PAIR(152, 152)
  376.                     }
  377.                 }
  378.                 *CursorOrigin: PAIR(150, 5200)
  379.                 *Command: CmdSelect
  380.                 {
  381.                     *Order: DOC_SETUP.5
  382.                     *Cmd: "<1B>&l-81A"
  383.                 }
  384.             }
  385.         }
  386.     }
  387.     *Option: ENV_DL
  388.     {
  389.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  390.         *switch: Orientation
  391.         {
  392.             *case: PORTRAIT
  393.             {
  394.                 *PrintableArea: PAIR(2438, 4596)
  395.                 *PrintableOrigin: PAIR(70, 100)
  396.                 *switch: Resolution
  397.                 {
  398.                     *case: Option2
  399.                     {
  400.                         *PrintableArea: PAIR(2436, 4596)
  401.                         *PrintableOrigin: PAIR(72, 100)
  402.                     }
  403.                     *case: Option3
  404.                     {
  405.                         *PrintableArea: PAIR(2432, 4592)
  406.                         *PrintableOrigin: PAIR(72, 104)
  407.                     }
  408.                 }
  409.                 *CursorOrigin: PAIR(70, 100)
  410.                 *Command: CmdSelect
  411.                 {
  412.                     *Order: DOC_SETUP.5
  413.                     *Cmd: "<1B>&l90A"
  414.                 }
  415.             }
  416.             *case: LANDSCAPE_CC90
  417.             {
  418.                 *PrintableArea: PAIR(2318, 4546)
  419.                 *PrintableOrigin: PAIR(150, 150)
  420.                 *switch: Resolution
  421.                 {
  422.                     *case: Option2
  423.                     {
  424.                         *PrintableArea: PAIR(2316, 4544)
  425.                         *PrintableOrigin: PAIR(152, 152)
  426.                     }
  427.                     *case: Option3
  428.                     {
  429.                         *PrintableArea: PAIR(2312, 4544)
  430.                         *PrintableOrigin: PAIR(152, 152)
  431.                     }
  432.                 }
  433.                 *CursorOrigin: PAIR(150, 4696)
  434.                 *Command: CmdSelect
  435.                 {
  436.                     *Order: DOC_SETUP.5
  437.                     *Cmd: "<1B>&l90A"
  438.                 }
  439.             }
  440.         }
  441.     }
  442. }
  443. *Feature: PrintQuality
  444. {
  445.     *rcNameID: =TEXT_QUALITY_DISPLAY
  446.     *DefaultOption: Option1
  447.     *Option: Option1
  448.     {
  449.         *rcNameID: 272
  450.         *Command: CmdSelect
  451.         {
  452.             *Order: DOC_SETUP.4
  453.             *Cmd: "<1B>(s2Q<1B>*r2Q"
  454.         }
  455.     }
  456.     *Option: Option2
  457.     {
  458.         *rcNameID: 273
  459.         *Command: CmdSelect
  460.         {
  461.             *Order: DOC_SETUP.4
  462.             *Cmd: "<1B>(s0Q<1B>*r0Q"
  463.         }
  464.     }
  465.     *Option: Option3
  466.     {
  467.         *rcNameID: 274
  468.         *Command: CmdSelect
  469.         {
  470.             *Order: DOC_SETUP.4
  471.             *Cmd: "<1B>(s2Q<1B>*r2Q<1B>*o2Q"
  472.         }
  473.     }
  474. }
  475. *Feature: Halftone
  476. {
  477.     *rcNameID: =HALFTONING_DISPLAY
  478.     *DefaultOption: HT_PATSIZE_AUTO
  479.     *Option: HT_PATSIZE_AUTO
  480.     {
  481.         *rcNameID: =HT_AUTO_SELECT_DISPLAY
  482.     }
  483. *Ifdef: WINNT_50
  484.     *Option: HT_PATSIZE_SUPERCELL_M
  485.     {
  486.         *rcNameID: =HT_SUPERCELL_DISPLAY
  487.     }
  488. *Endif:
  489.     *Option: HT_PATSIZE_6x6_M
  490.     {
  491.         *rcNameID: =HT_DITHER6X6_DISPLAY
  492.     }
  493.     *Option: HT_PATSIZE_8x8_M
  494.     {
  495.         *rcNameID: =HT_DITHER8X8_DISPLAY
  496.     }
  497. }
  498. *Command: CmdStartDoc
  499. {
  500.     *Order: DOC_SETUP.1
  501.     *Cmd: "<1B>E<1B>&l0L"
  502. }
  503. *Command: CmdStartPage
  504. {
  505.     *Order: PAGE_SETUP.1
  506.     *Cmd: "<0D>"
  507. }
  508. *Command: CmdEndJob
  509. {
  510.     *Order: JOB_FINISH.1
  511.     *Cmd: "<1B>E"
  512. }
  513. *Command: CmdEndPage
  514. {
  515.     *Order: PAGE_FINISH.1
  516.     *Cmd: "<0D>"
  517. }
  518. *RotateCoordinate?: TRUE
  519. *RotateRaster?: FALSE
  520. *RotateFont?: FALSE
  521. *switch: Orientation
  522. {
  523.     *case: PORTRAIT
  524.     {
  525.         *TextCaps: LIST(TC_OP_CHARACTER,TC_OP_STROKE,TC_UA_ABLE)
  526.     }
  527.     *case: LANDSCAPE_CC90
  528.     {
  529.         *TextCaps: LIST()
  530.     }
  531. }
  532. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  533. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,X_LANDSCAPE,Y_PORTRAIT,Y_LANDSCAPE)
  534. *XMoveThreshold: 0
  535. *YMoveThreshold: *
  536. *XMoveUnit: 300
  537. *YMoveUnit: 300
  538. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  539. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{(DestXRel / 2) }"X" }
  540. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d{(DestXRel / 2) }"X" }
  541. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  542. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  543. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  544. *Command: CmdCR { *Cmd : "<0D>" }
  545. *Command: CmdLF { *Cmd : "<0A>" }
  546. *Command: CmdFF { *Cmd : "<0C>" }
  547. *EjectPageWithFF?: TRUE
  548. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  549. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  550. *OutputDataFormat: H_BYTE
  551. *OptimizeLeftBound?: FALSE
  552. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  553. *CursorYAfterSendBlockData: AUTO_INCREMENT
  554. *LookAheadRegion: 360
  555. *DefaultFont: 1
  556. *DefaultCTT: 0
  557. *CharPosition: BASELINE
  558. *switch: Orientation
  559. {
  560.     *case: PORTRAIT
  561.     {
  562.         *DeviceFonts: LIST(1,7,8,69,70,71,72,73,94,95,102,103,104,105,106,107,
  563. +                   108,109,110,111,112,113,114,115,116,117)
  564.     }
  565.     *case: LANDSCAPE_CC90
  566.     {
  567.         *DeviceFonts: LIST()
  568.     }
  569. }
  570. *Command: CmdUnderlineOn { *Cmd : "<1B>&d3D" }
  571. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  572.